﻿using System;
using UnityEngine;
using UnityEngine.SceneManagement;

// Token: 0x0200041A RID: 1050
public class LogicExplodingFloor : MonoBehaviour
{
	// Token: 0x06001DC7 RID: 7623 RVA: 0x000B6C20 File Offset: 0x000B4E20
	private void OnGUI()
	{
		if (!LogicGlobalFracturing.HelpVisible)
		{
			return;
		}
		LogicGlobalFracturing.GlobalGUI();
		GUILayout.Label("This scene shows a floor with:", new GUILayoutOption[0]);
		GUILayout.Label("-BSP fracturing", new GUILayoutOption[0]);
		GUILayout.Label("-Moving explosion source with radius", new GUILayoutOption[0]);
		GUILayout.Label(string.Empty, new GUILayoutOption[0]);
		if (GUILayout.Button("Restart", new GUILayoutOption[0]))
		{
			SceneManager.LoadScene("02 Sample Scene - Exploding Floor");
		}
	}
}
